package com.xinzhi.controller;


import com.xinzhi.model.User;
import com.xinzhi.service.IUserservice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Controller
public class UserController {


    @Autowired
    private IUserservice userservice;

    @RequestMapping("/qqq")
    public String qqq(User user){
        List<User> users = userservice.qqq(user);
        System.out.println(users);
        return "a";
    }

}
